import request from '@/utils/request'

export function getAllPoints() {
  return request({
    url: '/api/delivery/getAllPoints',
    method: 'get'
  })
}
/**
 * 分页
 * @param {*} data 
 * @returns 
 */
export function getPoints(data) {
    return request({
      url: '/api/delivery/getPoints',
      method: 'get',
      params:data
    })
}